package SmartMeeting.bridges;

public class WindowsPlatform implements PlatFormAPI {

    public WindowsPlatform() {
        meetingStatusManager.registerObserver(observer);
    }

    @Override
    public void videoOn() {
        System.out.println("Windows平台视频开启");
        observer.update("Windows平台视频开启");
    }

    @Override
    public void videoOff() {
        System.out.println("Windows平台视频关闭");
        observer.update("Windows平台视频关闭");
    }

    @Override
    public void audioOn() {
        System.out.println("Windows平台音频开启");
        observer.update("Windows平台音频开启");
    }

    @Override
    public void audioOff() {
        System.out.println("Windows平台音频关闭");
        observer.update("Windows平台音频关闭");
    }

    @Override
    public void shareScreenOn() {
        System.out.println("Windows平台屏幕共享开启");
        observer.update("Windows平台屏幕共享开启");
    }

    @Override
    public void shareScreenOff() {
        System.out.println("Windows平台屏幕共享关闭");
        observer.update("Windows平台屏幕共享关闭");
    }
}
